home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10783 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: mn5.swip.net!news
  2. From: jonas.kjellin@mailbox.swipnet.se (Jonas Kjellin)
  3. Newsgroups: comp.lang.c
  4. Subject: Indexfiles
  5. Date: 19 Mar 1996 23:24:40 GMT
  6. Organization: -
  7. Message-ID: <735.6653T15T2452@mailbox.swipnet.se>
  8. NNTP-Posting-Host: dialup117-6-9.swipnet.se
  9. NNTP-Posting-User: 1cb0e361d47e8e14fa85e0caa389e65a
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  11.  
  12. How do i make a indexfile?
  13.  
  14. I mean, so you can write, create, update, search, delete recordes...
  15.  
  16. If i would like to find a record fast, is it better to make a special index
  17. file who only have the positions for the records in the datafile or?
  18.  
  19. I mean i would like it as a database.. byt how do i do it fast, so i dont
  20. need to start from the beginning of the file and then read every record
  21. and compare if it matches my keys..? and how do i delete a record in the
  22. middle of a big datafile? do i have to rewrite the whole file??
  23.  
  24.  
  25.  
  26. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  27.        E-Mail: jonas.kjellin@mailbox.swipnet.se
  28.  
  29.             NeverMind BBS +46(0)13-135093
  30. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  31.  
  32.